//
//  UIView+Box.h
//  Das
//
//  Created by yingzhi on 14-8-7.
//  Copyright (c) 2014年 yingzhi. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum
{
    DLA_TOP,DLA_BOTTOM
}DividingLineAzimuth;

@interface UIView (Box)

- (void)fillet;
- (void)fillet:(CGFloat)radius;

- (void)insertDividingLine:(DividingLineAzimuth) azimuth;
- (void)insertDividingLine;
- (void)insertGroundLine;

- (void)insertDividingLine:(UIColor*)back LineColor:(UIColor*)line;
- (void)insertGroundLine:(UIColor*)back LineColor:(UIColor*)line;

- (void)insertDividingLine:(UIColor*)back LineColor:(UIColor*)line BorderWidth:(CGFloat)width Azimuth:(DividingLineAzimuth) azimuth;
- (void)insertGroundLine:(UIColor*)back LineColor:(UIColor*)line BorderWidth:(CGFloat)width;

@end
